<?php
if (!isset($_GET['command'])) {
	if (!isset($_GET['Anfangsposition'])) {
		if (isset($_GET[k])) $kk = "&k=".$_GET[k];
		Header("Location: ".$_SERVER['PHP_SELF']."?Anfangsposition=0$kk");
	}
}
session_start(); $_SESSION[namea] = "archiv"; include "news_funktionen.php"; 
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
	<title>News Archiv</title>
	<?php include templateUrl."includes.php" ?>
	<link href="<?php echo newsOrdner ?>css/archiv.css" rel="stylesheet" type="text/css" />
</head>
<body>
	<h1>Archiv</h1>
	<?php
	if (!isset($_GET['k'])) newsSeitenwechsel();
	alleNewsZeigenMitSeitenwechsel();
	kommentareAnzeigen($komSchreiben=true);
	if (!isset($_GET['k'])) newsSeitenwechsel();
	if ($_SESSION['namea'] == "archiv") unset($_SESSION['namea']); 
	?>
</body>
</html>
